package com.school.springboot_login.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/*
*  用来测试的案例
* */
@RequestMapping(value="/")
@RestController
public class UserController {
     @GetMapping("login")
    public String login(){
         return  "登录成功";
     }
}
